Bookly\Lib\CartItem A

Total Complexity 64
Dependencies 13
Dependents 2
Total lines 640
Lines of code 220
Logical lines of code 110
Comment lines 274
Methods 46
Properties 16

Methods 46

Method Rating Maintainability Complexity Lines of code
getServicePriceWithoutExtras()
S
50 6 28
distributeExtrasAcrossSlots()
S
53 5 22
getDeposit()
S
58 5 14
toBePutOnWaitingList()
S
66 4 8
setData()
S
71 2 6
getExtrasDuration()
S
73 2 5
getDays()
S
82 1 3
setDays()
S
77 1 4
getTimeFrom()
S
82 1 3
setTimeFrom()
S
77 1 4
getTimeTo()
S
82 1 3
setTimeTo()
S
77 1 4
getExtras()
S
82 1 3
setExtras()
S
77 1 4
__construct()
S
98 1 1
getSlots()
S
82 1 3
setSlots()
S
77 1 4
getDateFrom()
S
82 1 3
getCustomFields()
S
82 1 3
setCustomFields()
S
77 1 4
getSeriesUniqueId()
S
81 1 3
setSeriesUniqueId()
S
77 1 4
getFirstInSeries()
S
82 1 3
setFirstInSeries()
S
77 1 4
setDateFrom()
S
77 1 4
getNumberOfPersons()
S
82 1 3
setUnits()
S
77 1 4
getAppointmentId()
S
82 1 3
getAppointment()
S
79 1 3
getService()
S
79 1 3
getServicePrice()
S
71 1 5
getDepositPrice()
S
74 1 4
getStaffId()
S
79 1 3
getStaff()
S
79 1 3
isFirstSubService()
S
79 1 3
setAppointmentId()
S
77 1 4
getUnits()
S
82 1 3
getLocationId()
S
82 1 3
setLocationId()
S
77 1 4
getServiceId()
S
82 1 3
setServiceId()
S
77 1 4
getStaffIds()
S
82 1 3
setStaffIds()
S
77 1 4
getData()
S
80 1 3
setNumberOfPersons()
S
77 1 4
setConsiderExtrasDuration()
S
77 1 4